home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set tButtonState to word 2 of the name of member the memberNum of sprite the clickOn of castLib the castLibNum of sprite the clickOn
- if tButtonState = "downState" then
- exit
- else
- hCheckAnyConflicts()
- hMakeSound("CLICK.AIF", 1)
- case tButtonState of
- "upState":
- if hValidClick01() = 1 then
- hButtonScripts(tButtonState)
- end if
- "rolloverState":
- if hValidClick02() = 1 then
- hButtonScripts(tButtonState)
- end if
- end case
- end if
- end
-
- on hButtonScripts pButtonState
- global gDemoStyle, gSection
- hChangeCursor("watch")
- set gDemoStyle to "single"
- set gSection to "E"
- go(1, "DEMO610")
- end
-